from applications.extensions import ma
from marshmallow import fields


class EarthOutSchema(ma.Schema):
    id = fields.Integer()
    Longitude = fields.Str()
    Latitude = fields.Str()
    Deep = fields.Integer()
    Type = fields.Str()
    Level = fields.Str()
    Location = fields.Str()
    create_at = fields.DateTime()


class BuildOutSchema(ma.Schema):
    id = fields.Integer()
    Name = fields.Str()
    Num = fields.Integer()
    People1 = fields.Str()
    People2 = fields.Str()


